package com.fang.control;

import com.fang.bean.UserInfoBean;

public class UserInfoServlet {
    UserInfoBean userInfoBean;


    public void setUserInfoBean(UserInfoBean userInfoBean) {
        this.userInfoBean = userInfoBean;
    }

    public void doServlet(){
        System.out.println("进行依赖注入"+userInfoBean.toString());
    }
}
